package com.sdy.po;

import java.io.Serializable;

public class Parm implements Serializable {

    private Integer id;
    private String name;
    private String unit;
    private String eName;
    private Integer max;
    private Integer min;

    @Override
    public String toString() {
        return "Parm{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", unit='" + unit + '\'' +
                ", eName='" + eName + '\'' +
                ", max=" + max +
                ", min=" + min +
                '}';
    }

    public Parm(Integer id, String name, String unit, String eName, Integer max, Integer min) {
        this.id = id;
        this.name = name;
        this.unit = unit;
        this.eName = eName;
        this.max = max;
        this.min = min;
    }

    public Integer getMin() {
        return min;
    }

    public void setMin(Integer min) {
        this.min = min;
    }

    public Parm(Integer id, String name, String unit, String eName, Integer max) {
        this.id = id;
        this.name = name;
        this.unit = unit;
        this.eName = eName;
        this.max = max;
    }

    public Integer getMax() {
        return max;
    }

    public void setMax(Integer max) {
        this.max = max;
    }

    public String geteName() {
        return eName;
    }

    public void seteName(String eName) {
        this.eName = eName;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public Parm(Integer id, String name, String unit, String eName) {
        this.id = id;
        this.name = name;
        this.unit = unit;
        this.eName = eName;
    }

    public Parm(Integer id, String name, String unit) {
        this.id = id;
        this.name = name;
        this.unit = unit;
    }


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Parm(Integer id, String name) {
        this.id = id;
        this.name = name;
    }

    public Parm() {
    }
}
